package com.tensquare.user.service;

import com.tensquare.user.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tensquare.user.pojo.User;

@Service
public class UserService {

    @Autowired
    private UserDao userDao;


    //根据id查询用户
    public User selectById(String id){
        return userDao.selectById(id);
    }
}
